<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=0">
		<link rel="stylesheet" href="{:ADDON_PUBLIC_PATH}/css/weuix.min.css" />
		<link rel="stylesheet" href="{:ADDON_PUBLIC_PATH}/css/register.css" />
		<link rel="stylesheet" type="text/css" href="{:ADDON_PUBLIC_PATH}/css/iconfont.css"/>
		<link rel="stylesheet" href="{:ADDON_PUBLIC_PATH}/css/person_edit.css" />
		<link rel="stylesheet" type="text/css" href="{:ADDON_PUBLIC_PATH}/css/zoomify.min.css"/>
		<title>我的电子照</title>
		<script type="text/javascript">
		//静态变量
		 function onBridgeReady() { 
	    	    WeixinJSBridge.call('hideOptionMenu'); 
	    	} 
	    	 
	    	if (typeof WeixinJSBridge == "undefined") { 
	    	    if (document.addEventListener) { 
	    	        document.addEventListener('WeixinJSBridgeReady', onBridgeReady, false); 
	    	    } else if (document.attachEvent) { 
	    	        document.attachEvent('WeixinJSBridgeReady', onBridgeReady); 
	    	        document.attachEvent('onWeixinJSBridgeReady', onBridgeReady); 
	    	    } 
	    	} else { 
	    	    onBridgeReady(); 
	    	}
	</script>
	</head>

	<body>        
     <div class="page-hd">
        <h1 class="page-hd-title">
            我的订单
        </h1>
        <p class="page-hd-desc">请选择以下付款方式</p>
    </div>

		
    <volist name="print" id="print">
	    
	    <div class="weui-form-preview">
            <div class="weui-form-preview-hd">
                <label class="weui-form-preview-label">付款金额</label>
                <em class="weui-form-preview-value">¥{$print['cost']}</em>
            </div>
            <div class="weui-form-preview-bd">
                <p>
                    <label class="weui-form-preview-label">姓名：{$user.username}</label>
                    <span class="weui-form-preview-value">联系方式：{$user.mobile}</span>
                </p>
                <p>
                    <label class="weui-form-preview-label">尺寸：{$print['size']}</label>
                    <span class="weui-form-preview-value">{$print['pay_status']}</span>
                </p>
                <p>
                    <label class="weui-form-preview-label">备注</label>
                    <span class="weui-form-preview-value">{$print['remark']}</span>
                </p>
            </div>
            <if condition="$data['pay_status'] eq 0" >
            <div class="weui-form-preview-ft">
                <a class="weui-form-preview-btn weui-form-preview-btn-warn" href="{:U("print_finish",array('pay_type'=>1))}">微信支付</a>
                <a class="weui-form-preview-btn weui-form-preview-btn-primary" href="{:U("print_finish",array('pay_type'=>2))}">支付宝支付</a>
            </div>
            </if>
        </div>
        <div class="weui-loadmore weui-loadmore-line weui-loadmore-dot">
            <span class="weui-loadmore-tips"></span>
        </div> 
	</volist>
	<if condition="$print eq null"><a href="{:U('electron_pic')}">快速打印纸制版照片</a></if>		        
       <div class="weui-footer" style="margin-top: 60px;">
          <p class="weui-footer__links">
            <a href="http://h.eqxiu.com/s/04twlh4V" class="weui-footer__link">微生活工作室</a>|  <a href="{:U('infoReview')}" class="weui-footer__link">意见反馈</a>
          </p>
          <a  href="{:U('term_text_cn')}" class="weui-footer__text" style="border-radius: ;">Copyright © 20016-2017</a>
        </div>
	</body>
	<script src="{:ADDON_PUBLIC_PATH}/js/jquery-3.2.1.min.js"></script>

</html>